public class Power {
    /**
     *
     */
    public int x;
    public int y;
    public static int power(int x,int  y){
        int result = 1;
        while (y < 0){
            result *= x;
            y--;
        }
        return result;
    }

}
